<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.cn.wanxi.model.CompanyModel" %>
<%--
  Created by IntelliJ IDEA.
  User: 13044
  Date: 2020/7/10
  Time: 9:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/css/top.css">
</head>

<body>
<div class="top">
    <!--    公司信息logo和电话-->
    <div class="logo">
        <div class="floatLeft"><img src="${companyModel.logo}" height="141" width="204"/></div>
        <div class="floatRight">
            <div class="floatLeft"><img src="../img/icon2_03_uc2a.png" height="30" width="30"/></div>
            <div class="floatRight">${companyModel.phone}
            </div>
        </div>
    </div>
    <!--    导航信息-->
    <div class="nav">
        <div>
            <c:forEach items="${navList}" var="navModel">
                <a href="${navModel.href}">
                    <div>${navModel.title}</div>
                </a>
            </c:forEach>
        </div>
        <!--<ol>-->
        <!--    <li>网站首页</li>-->
        <!--    <li>网站首页</li>-->
        <!--    <li>网站首页</li>-->
        <!--    <li>网站首页</li>-->
        <!--    <li>网站首页</li>-->
        <!--    <li>网站首页</li>-->
        <!--</ol>-->
        <!--        <ul>-->
        <!--            <li>网站首页</li>-->
        <!--            <li>网站首页</li>-->
        <!--            <li>网站首页</li>-->
        <!--            <li>网站首页</li>-->
        <!--            <li>网站首页</li>-->
        <!--            <li>网站首页</li>-->
        <!--        </ul>-->
    </div>
    <!--    广告，轮播图-->
    <div class="ad">
        ${companyModel.ad}
    </div>
</div>
</body>
</html>